package com.gopay.remote.fundcps.service;

import com.gopay.common.exception.CPSException;
import com.gopay.remote.fundcps.model.FundcProduct;
import com.gopay.remote.fundcps.vo.FinanceVO;
import com.gopay.remote.fundcps.vo.FundChartsVo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Description:Server of product infomation
 * Auther：liuyu
 * Date：2017-03-27
 * @version
 */
public interface FundcProductService {

	int insert(FundcProduct record);

	int insertSelective(FundcProduct record);

	FundcProduct selectByPrimaryKey(BigDecimal keyId);

	int updateByPrimaryKeySelective(FundcProduct record);

	int updateByPrimaryKey(FundcProduct record);

	FundChartsVo selectSevenDaysInfoByDate(Date date, String type) throws CPSException;

	void insertInfoFromRtBiz() throws CPSException;

    FinanceVO selectInfoByFundCodeAndDate(String fundCode);
}

